package com.it.xuehang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.it.xuehang.mapper") // 确保这里的路径正确
@EnableScheduling //开启定时任务
public class XuehangApplication {

    public static void main(String[] args) {
        SpringApplication.run(XuehangApplication.class, args);
    }

}
